package org.charry.lib.dataset;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
public @interface KAnnotation {
	public enum KType {
		INT, FLOAT, DOUBLE, DATETIME, STRING
	}

	KType type() default KType.STRING;

	/**
	 * hide the column if <code>hide=true</code>
	 * 
	 * @return
	 */
	boolean hide() default false;

	/**
	 * column name
	 * 
	 * @return
	 */
	String name() default "";

	/**
	 * length of the field(it could be used when rendering the Excel sheet)
	 */
	int length() default -1;
}
